package top.suven.base.user.dto.request;

import java.io.Serializable;

/**
 * @ClassName:
 * @Description:
 * @Author liulu
 * @Date 2018/5/28 20:48
 * @Copyright: (c) 2018 gc by https://www.gc.com.cn/
 * @Version : 1.0.0
 */
public class RedisRequestDto  implements Serializable {

    private static final long serialVersionUID = -4790480938187663414L;
    private String key;//redis中key
    private Object object;//redis中的value
    private int millins;//redis中的过期时间，秒
    private int count;//对redis中的value为int类型进行加减时的数字,1代表加，-1代表减


    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public int getMillins() {
        return millins;
    }

    public void setMillins(int millins) {
        this.millins = millins;
    }
}
